package com.qq2008.game.mojie.jdo;

/***
 * 事件
 */
public class Event {
    // 事件id
    private int id;
    // 事件标题
    private String name;
    // 描述
    private String text;
    // 执行函数
    private String fun;
    // 下级事件id
    private int nextId;
    // 下级事件名称
    private String nextName;

    public Event() {
    }

    public Event(int id, String name, String fun, String text, int nextId, String nextName) {
        this.id = id;
        this.name = name;
        this.fun = fun;
        this.text = text;
        this.nextId = nextId;
        this.nextName = nextName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFun() {
        return fun;
    }

    public void setFun(String fun) {
        this.fun = fun;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getNextId() {
        return nextId;
    }

    public void setNextId(int nextId) {
        this.nextId = nextId;
    }

    public String getNextName() {
        return nextName;
    }

    public void setNextName(String nextName) {
        this.nextName = nextName;
    }
}
